<?php

/**
 * Description of Cofre
 *
 * @author Pedro Giacometto
 */
class Cofre
{

    private $_material;
    private $_contenido = array();

    function __construct($material)
    {
        $this->_material = $material;
    }

    public function __toString()
    {
        return $this->_material;
    }

    public function addDinero(Dinero $dinero)
    {
        $this->_contenido = $dinero;
    }

    //put your code here
}

